
//没有了pch文件，这个框架要自己导入
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

//=====常量
//竖屏
NSUInteger const HMScreenLW = 1024;
//横屏
NSUInteger const HMScreenPW = 768;
//分割线的高度_0.5
CGFloat XCYLineHeight_Small = 0.5;
//分割线的高度_1
CGFloat XCYLineHeight_Normal = 1;
//ToolBar底部工具条的高度
CGFloat XCYToolBarHeight = 49;
//NavBar顶部的高度
CGFloat XCYNavBarHeight = 64;
//Cell的高度、顶部条的高度
CGFloat XCYHeight_44 = 44;
//边距
CGFloat XCYMargin_5 = 5;
CGFloat XCYMargin_10 = 10;
CGFloat XCYMargin_15 = 15;
CGFloat XCYMargin_20 = 20;
CGFloat XCYMargin_25 = 25;
CGFloat XCYMargin_30 = 30;
CGFloat XCYMargin_35 = 35;
CGFloat XCYMargin_40 = 40;
CGFloat XCYMargin_45 = 45;
CGFloat XCYMargin_50 = 50;
//列表显示的条数
NSInteger XCYListPageSize = 100;
//分组表格的头尾间隔距离为0
CGFloat XCYTableHead0 = 0.00001;

//===通知
//登录、注册成功
NSString * const DSLoginRegisgerSuccessNote = @"DSLoginRegisgerSuccessNote";
//内容的图片点击
NSString * const DSUnitInnerViewDidIconViewClickNote = @"DSUnitInnerViewDidIconViewClickNote";
//学习通关后刷新单元列表
NSString * const DSLearnPassDidRefreshUnitListNote = @"DSLearnPassDidRefreshUnitListNote";
//IAP支付成功
NSString * const DSIAPSuccessDidRefreshListNote = @"DSIAPSuccessDidRefreshListNote";

//====返回参数名
//提示信息
NSString * const msg = @"msg";
//code
NSString * const errorCode = @"error_ode";
//sessionid
NSString * const sessionid = @"sessionid";
//appIds
NSString * const appIds_key = @"appIds_key";

//域名
//登录、注册、首页、排行榜等的域名
//NSString * const DSDomain = @"http://www.51dasijiaoyu.com:8070/";
//NSString * const DSDomain = @"http://139.129.96.177:8070/";
NSString * const DSDomain = @"http://121.42.171.78:8070/";
//NSString * const DSDomain = @"http://192.168.1.101:8080/";
//图片(不包括学习界面)和json下载的域名
//@"http://www.dasijiaoyu.com/"
NSString * const DSMainDomain = @"http://121.42.171.78:8070/";
//NSString * const DSMainDomain = @"http://www.dasijiaoyu.com/";
//学习界面的图片和音频
//@"http://dasiupload.oss-cn-qingdao.aliyuncs.com/";
NSString * const DSExerciseDomain = @"http://121.42.171.78:8070/";
//NSString * const DSExerciseDomain = @"http://www.51dasijiaoyu.com:8070/";
//是否调试模式
#ifdef DEBUG
BOOL const isDeBug = YES;
#else
BOOL const isDeBug = NO;
#endif

//=====DSExerciseDomainAddress
NSString * const DSExerciseDomainAddress = @"DSExerciseDomainAddress";

//=====Schemes
NSString * const DSJYScheme = @"DSJYScheme";

//=====第三方AppId
//腾讯Bugly的AppId
NSString * const DSBuglyAppId = @"e08322c1a2";
//Alipay的AppId
NSString * const DSAlipayAppId = @"2017022705915828";

//=====阿里云OSS
NSString * const AccessKey = @"QTh6Mtg8qHmibIZl";
NSString * const SecretKey = @"CkJtqeH1ycbQJJY4FYNzCexrMafVK6";
NSString * const endPoint = @"https://oss-cn-qingdao.aliyuncs.com";
NSString * const bucketName = @"dasiupload";

